projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bdbb9a
)
(Finsert_file_contents): Use xrealloc too.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 15 May 1997 21:28:03 +0000
(21:28 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 15 May 1997 21:28:03 +0000
(21:28 +0000)
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index e81893c185a77ead11349cd5b7755731756f59f5..14b1ca0aa0e71e69d4477a8b62878a3de713ab1d 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-3386,7
+3386,7
@@
This does code conversion according to the value of\n\
if (inserted + require + 2 * (total - how_much) > bufsize)
{
bufsize = inserted + require + 2 * (total - how_much);
- conversion_buffer = (unsigned char *) realloc (conversion_buffer, bufsize);
+ conversion_buffer = (unsigned char *)
x
realloc (conversion_buffer, bufsize);
}
/* Convert this batch with results in CONVERSION_BUFFER. */